package com.wasp.collector.content;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.wasp.collector.data.RequestContext;

public class Content implements Serializable{
    private static final Logger LOG = LoggerFactory.getLogger(Content.class);

	private String rawContent;
	private int status;
	private RequestContext requeestContext;
	/*private String doc;
	public String getDoc() {
		return doc;
        if(doc!=null){
            return doc;
        }
		try{
            this.doc=Jsoup.parse(rawContent,requeestContext.getUrl());
            return doc;
        }catch(Exception ex){
        	log.error("Exception",ex);
            return null;
        }
    }*/
	
	public String getRawContent() {
		return rawContent;
	}
	public void setRawContent(String rawContent) {
		this.rawContent = rawContent;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}

	public RequestContext getRequestContext() {
		return requeestContext;
	}

	public void setRequestContext(RequestContext rContext) {
		this.requeestContext = rContext;
	}
	
}